package com.sa07.role.service;

import java.util.List;

import com.sa07.bean.Role;
import com.sa07.exception.DatabaseExecuteFailedException;
import com.sa07.role.dao.IRoleDao;
import com.sa07.role.dao.RoleDao;

/**
 * 角色业务实现类
 * 
 * @author Long.shangbo
 *
 * 2014-2-21 下午6:10:31
 */
public class RoleService implements IRoleService {

	private IRoleDao roleDao = new RoleDao();
	
	@Override
	public List<Role> queryAllRole() throws DatabaseExecuteFailedException {
		return roleDao.queryAllRoles();
	}

}
